<!DOCTYPE html>
<html lang="en">
<head prefix="og: http://ogp.me/ns#">
  <meta charset="utf-8">
  <title>starRTC文档</title>
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- Canonical links -->
  <link rel="canonical" href="https://starrtc.gitee.io/en/docs/aec-group.html">
  <!-- Alternative links -->
  
    
      <link rel="alternative" hreflang="en" href="https://starrtc.gitee.io/docs/aec-group.html">
    
      <link rel="alternative" hreflang="zh-cn" href="https://starrtc.gitee.io/zh-cn/docs/aec-group.html">
    
  
  <!-- Icon -->
  <link rel="apple-touch-icon" sizes="57x57" href="/icon/apple-touch-icon-57x57.png">
  <link rel="apple-touch-icon" sizes="114x114" href="/icon/apple-touch-icon-114x114.png">
  <link rel="apple-touch-icon" sizes="72x72" href="/icon/apple-touch-icon-72x72.png">
  <link rel="apple-touch-icon" sizes="144x144" href="/icon/apple-touch-icon-144x144.png">
  <link rel="apple-touch-icon" sizes="60x60" href="/icon/apple-touch-icon-60x60.png">
  <link rel="apple-touch-icon" sizes="120x120" href="/icon/apple-touch-icon-120x120.png">
  <link rel="apple-touch-icon" sizes="76x76" href="/icon/apple-touch-icon-76x76.png">
  <link rel="apple-touch-icon" sizes="152x152" href="/icon/apple-touch-icon-152x152.png">
  <link rel="icon" type="image/png" href="/icon/favicon-196x196.png" sizes="196x196">
  <link rel="icon" type="image/png" href="/icon/favicon-160x160.png" sizes="160x160">
  <link rel="icon" type="image/png" href="/icon/favicon-96x96.png" sizes="96x96">
  <link rel="icon" type="image/png" href="/icon/favicon-16x16.png" sizes="16x16">
  <link rel="icon" type="image/png" href="/icon/favicon-32x32.png" sizes="32x32">
  <meta name="msapplication-TileColor" content="#2f83cd">
  <meta name="msapplication-TileImage" content="/icon/mstile-144x144.png">
  <!-- CSS -->
  <!-- build:css build/css/navy.css -->
  <link rel="stylesheet" href="/css/navy.css">
  <!-- endbuild -->
  <link href="https://starrtc.gitee.io/googleapis.css" rel="stylesheet" type="text/css">
 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> 
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css">
  <!-- RSS -->
  <link rel="alternate" href="/atom.xml" title="starRTC文档">
  <!-- Open Graph -->
  <meta name="description" content="Group event notification1 Create a groupIt is Corresponding the client interface:createGroup&amp;#123;&quot;action&quot;:&quot;AEC_GROUP_CREATE&quot;,&quot;userId&quot;:&quot;xxx&quot;,&quot;addUsers&quot;:&quot;userId1,userId2,...&quot;,&quot;userDefineData&quot;:&quot;xxxxx&quot;&amp;#">
<meta property="og:type" content="website">
<meta property="og:title" content="starRTC文档">
<meta property="og:url" content="https://starrtc.gitee.io/en/docs/aec-group.html">
<meta property="og:site_name" content="starRTC文档">
<meta property="og:description" content="Group event notification1 Create a groupIt is Corresponding the client interface:createGroup&amp;#123;&quot;action&quot;:&quot;AEC_GROUP_CREATE&quot;,&quot;userId&quot;:&quot;xxx&quot;,&quot;addUsers&quot;:&quot;userId1,userId2,...&quot;,&quot;userDefineData&quot;:&quot;xxxxx&quot;&amp;#">
<meta property="og:locale" content="en">
<meta property="og:updated_time" content="2020-09-06T00:27:31.345Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="starRTC文档">
<meta name="twitter:description" content="Group event notification1 Create a groupIt is Corresponding the client interface:createGroup&amp;#123;&quot;action&quot;:&quot;AEC_GROUP_CREATE&quot;,&quot;userId&quot;:&quot;xxx&quot;,&quot;addUsers&quot;:&quot;userId1,userId2,...&quot;,&quot;userDefineData&quot;:&quot;xxxxx&quot;&amp;#">
<meta name="twitter:site" content="hexojs">
<meta property="fb:admins" content="100000247608790">
  <!-- Google Analytics -->
  
</head>

<body>
  <div id="container">
    <header id="header" class="wrapper">
  <div id="header-inner" class="inner">
    <h1 id="logo-wrap">
      
      <a href="https://starrtc.gitee.io/" id="logo">starRTC</a>
    </h1>
    <nav id="main-nav">
      <a href="https://starrtc.gitee.io/" class="main-nav-link">Home</a><a href="https://blog.starRTC.com" class="main-nav-link">Blog</a><a href="https://github.com/starrtc/android-demo/issues" class="main-nav-link">Forum</a><a href="/en/docs/" class="main-nav-link">Docs</a><a href="/en/download/" class="main-nav-link">Download</a><a href="/en/contact/" class="main-nav-link">Contact</a>
      
    </nav>
    <div id="lang-select-wrap">
      <label id="lang-select-label"><i class="fa fa-globe"></i><span>English</span></label>
      <select id="lang-select" data-canonical="docs/aec-group.html">
        
          <option value="en" selected>English</option>
        
          <option value="zh-cn">简体中文</option>
        
      </select>
    </div>
    <a id="mobile-nav-toggle">
      <span class="mobile-nav-toggle-bar"></span>
      <span class="mobile-nav-toggle-bar"></span>
      <span class="mobile-nav-toggle-bar"></span>
    </a>
  </div>
</header>

    <div id="content-wrap">
  <div id="content" class="wrapper">
    <div id="content-inner">
      <article class="article-container" itemscope itemtype="http://schema.org/Article">
        <div class="article-inner">
          <div class="article">
            <div class="inner">
              <header class="article-header">
                <h1 class="article-title" itemprop="name"></h1>
                <a href="https://github.com/starRTC/docs/edit/master/en/docs/aec-group.md" class="article-edit-link" title="Improve this doc"><i class="fa fa-pencil"></i></a>
              </header>
              <div class="article-content" itemprop="articleBody">
                <h1 id="Group-event-notification" class="article-heading"><a href="#Group-event-notification" class="headerlink" title="Group event notification"></a>Group event notification<a class="article-anchor" href="#Group-event-notification" aria-hidden="true"></a></h1><h2 id="1-Create-a-group" class="article-heading"><a href="#1-Create-a-group" class="headerlink" title="1 Create a group"></a>1 Create a group<a class="article-anchor" href="#1-Create-a-group" aria-hidden="true"></a></h2><p>It is Corresponding the client interface:createGroup<br><figure class="highlight java"><table><tr><td class="code"><pre><span class="line">&#123;<span class="string">"action"</span>:<span class="string">"AEC_GROUP_CREATE"</span>,<span class="string">"userId"</span>:<span class="string">"xxx"</span>,<span class="string">"addUsers"</span>:<span class="string">"userId1,userId2,..."</span>,<span class="string">"userDefineData"</span>:<span class="string">"xxxxx"</span>&#125;</span><br></pre></td></tr></table></figure></p>
<p>userDefineData：You can decide the content according to your own business logic. For example, you can pass the group name or json data.</p>
<p>userId：  the user ID of who requests to create a group</p>
<p>addUsers：A comma-separated list of group members that already contain the creator.</p>
<p>Return format when it creates successful:<br><figure class="highlight java"><table><tr><td class="code"><pre><span class="line">&#123;<span class="string">"status"</span>:<span class="string">"1"</span>,<span class="string">"data"</span>:<span class="string">"newGroupId"</span>&#125;</span><br></pre></td></tr></table></figure></p>
<p>The parameter newGroupId is your newly created group ID.</p>
<h2 id="2-Synchronize-all-group-members" class="article-heading"><a href="#2-Synchronize-all-group-members" class="headerlink" title="2 Synchronize all group members"></a>2 Synchronize all group members<a class="article-anchor" href="#2-Synchronize-all-group-members" aria-hidden="true"></a></h2><p>When you receive this request, you need to return all members of this groupId<br><figure class="highlight java"><table><tr><td class="code"><pre><span class="line">&#123;<span class="string">"action"</span>:<span class="string">"AEC_GROUP_SYNC_ALL"</span>,<span class="string">"groupId"</span>:<span class="string">"xxx"</span>&#125;</span><br></pre></td></tr></table></figure></p>
<p>Return format when it creates successful:<br><figure class="highlight java"><table><tr><td class="code"><pre><span class="line">&#123;</span><br><span class="line">    <span class="string">"status"</span>: <span class="string">"1"</span>, </span><br><span class="line">    <span class="string">"data"</span>: &#123;</span><br><span class="line">        <span class="string">"groupList"</span>: <span class="string">"userId1,userIdx..."</span>, </span><br><span class="line">        <span class="string">"ignoreList"</span>: <span class="string">"userId1,userIdx,..."</span></span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></p>
<p>“groupList” represents all group members of this group, which separated by commas.</p>
<p>“ignoreList” is a <font color="red">optional parameter</font>, indicating that all group members with message do not disturbed for this group which are separated by commas. If there is no member with message do not disturbed, please do not pass this field.</p>
<h2 id="3-Delete-a-group" class="article-heading"><a href="#3-Delete-a-group" class="headerlink" title="3 Delete a group"></a>3 Delete a group<a class="article-anchor" href="#3-Delete-a-group" aria-hidden="true"></a></h2><p>It indicates that the user wants to delete the group, and you can determine whether the user has the deletion permission, such as whether it is the creator. If you have permission, delete the group data in your server.</p>
<p>{“action”:”AEC_GROUP_DEL”, “userId”:”xxx”,”groupId”:”xxx”}<br>//return {“status”:”x”}<br><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line"></span><br><span class="line"></span><br><span class="line">4 Add a group member</span><br><span class="line">---</span><br><span class="line">It is corresponding to the client interface :addGroupMembers</span><br><span class="line">```java</span><br><span class="line">&#123;&quot;action&quot;:&quot;AEC_GROUP_ADD_USER&quot;,&quot;userId&quot;:&quot;xxx&quot;,&quot;groupId&quot;:&quot;xxx&quot;,&quot;addUsers&quot;:&quot;userId1,userId2,...&quot;,&quot;userDefineData&quot;:&quot;xxxxx&quot;&#125;</span><br><span class="line">//return &#123;&quot;status&quot;:&quot;x&quot;&#125;</span><br></pre></td></tr></table></figure></p>
<p>addUsers      ：It is the list of members that the user wishes to add to the group, separated by commas, and if a single user is added, there is no comma.<br>userDefineData：(optional)，You can decide the content according to your own business logic. For example, you can pass the chat room name or json data.</p>
<h2 id="5-Add-group-members-and-sync-all-group-members" class="article-heading"><a href="#5-Add-group-members-and-sync-all-group-members" class="headerlink" title="5 Add group members and sync all group members"></a>5 Add group members and sync all group members<a class="article-anchor" href="#5-Add-group-members-and-sync-all-group-members" aria-hidden="true"></a></h2><figure class="highlight java"><table><tr><td class="code"><pre><span class="line">&#123;<span class="string">"action"</span> : <span class="string">"AEC_GROUP_ADD_USER_AND_SYNC_ALL"</span>, <span class="string">"userId"</span> : <span class="string">"xxx"</span>,<span class="string">"groupId"</span>:<span class="string">"xxx"</span>,<span class="string">"addUsers"</span>:<span class="string">"userId1,userId2,..."</span>,<span class="string">"userDefineData()"</span>:<span class="string">"xxxxx"</span>&#125;</span><br><span class="line"><span class="comment">//return &#123;"status":"x","data":&#123;"groupList":"userId1,userId2,...","ignoreList(optional)":"userId1,userId2,..."&#125;&#125;</span></span><br></pre></td></tr></table></figure>
<p>It is Similar to AEC_GROUP_ADD_USER, but you need to return all group members at this time, similar to AEC_GROUP_SYNC_ALL.</p>
<p>“groupList” represents all members of this group, and ignoreList is a <font color="red">optional parameter</font>, indicating all group members that set group message do not disturb.</p>
<font color="gray">Group message DND means that the group’s messages will not be pushed to this user.</font>



<h2 id="6-Delete-the-group-member" class="article-heading"><a href="#6-Delete-the-group-member" class="headerlink" title="6 Delete the group member"></a>6 Delete the group member<a class="article-anchor" href="#6-Delete-the-group-member" aria-hidden="true"></a></h2><p>It is corresponding the client interface : deleteGroupMembers<br><figure class="highlight java"><table><tr><td class="code"><pre><span class="line">&#123;<span class="string">"action"</span>:<span class="string">"AEC_GROUP_REMOVE_USER"</span>,<span class="string">"userId"</span>:<span class="string">"xxx"</span>,<span class="string">"groupId"</span>:<span class="string">"xxx"</span>,<span class="string">"removeUsers"</span>:<span class="string">"userId1,userId2,..."</span>&#125;</span><br><span class="line"><span class="comment">//返回 &#123;"status":"x"&#125;</span></span><br></pre></td></tr></table></figure></p>
<p>“removeUsers” is a list of members that the user wishes to remove from the group, separated by commas, and if a single user is deleted, there is no comma.</p>
<h2 id="7-Delete-group-members-and-sync-all-group-members" class="article-heading"><a href="#7-Delete-group-members-and-sync-all-group-members" class="headerlink" title="7 Delete group members and sync all group members"></a>7 Delete group members and sync all group members<a class="article-anchor" href="#7-Delete-group-members-and-sync-all-group-members" aria-hidden="true"></a></h2><figure class="highlight java"><table><tr><td class="code"><pre><span class="line">&#123;<span class="string">"action"</span>:<span class="string">"AEC_GROUP_REMOVE_USER_AND_SYNC_ALL"</span>, <span class="string">"userId"</span>:<span class="string">"xxx"</span>,<span class="string">"groupId"</span>:<span class="string">"xxx"</span>,<span class="string">"removeUsers"</span>:<span class="string">"userId1,userId2,..."</span>&#125;</span><br><span class="line"><span class="comment">//return &#123;"status":"x","data":&#123;"groupList":"userId1,userId2,...","ignoreList(可选)":"userId1,userId2,..."&#125;&#125;</span></span><br></pre></td></tr></table></figure>
<p>It is similar to AEC_GROUP_REMOVE_USER, but you need to return all group members at this time, similar to AEC_GROUP_SYNC_ALL.</p>
<p>“groupList” represents all members of this group, and ignoreList is a <font color="red">optional parameter</font>, indicating all group members that set group message do not disturb.</p>
<font color="gray">Group message DND means that the group’s messages will not be pushed to this user.</font>



<h2 id="8-Set-the-DND-mode" class="article-heading"><a href="#8-Set-the-DND-mode" class="headerlink" title="8 Set the DND mode"></a>8 Set the DND mode<a class="article-anchor" href="#8-Set-the-DND-mode" aria-hidden="true"></a></h2><figure class="highlight java"><table><tr><td class="code"><pre><span class="line">&#123;<span class="string">"action"</span> : <span class="string">"AEC_SET_GROUP_PUSH_IGNORE"</span>, <span class="string">"userId"</span> : <span class="string">"xxx"</span>,<span class="string">"groupId"</span>:<span class="string">"xxx"</span>&#125;</span><br><span class="line"><span class="comment">//return &#123;"status":"x"&#125;</span></span><br></pre></td></tr></table></figure>
<p>The user requests to set the group to be in the DND state. After the setting, the group’s message will not be pushed to this user.</p>
<h2 id="9-Set-DND-mode-and-sync-group-members" class="article-heading"><a href="#9-Set-DND-mode-and-sync-group-members" class="headerlink" title="9 Set DND mode and sync group members"></a>9 Set DND mode and sync group members<a class="article-anchor" href="#9-Set-DND-mode-and-sync-group-members" aria-hidden="true"></a></h2><figure class="highlight java"><table><tr><td class="code"><pre><span class="line">&#123;<span class="string">"action"</span> : <span class="string">"AEC_SET_GROUP_PUSH_IGNORE_AND_SYNC_ALL"</span>, <span class="string">"userId"</span> : <span class="string">"xxx"</span>,<span class="string">"groupId"</span>:<span class="string">"xxx"</span>&#125;</span><br><span class="line"><span class="comment">//return &#123;"status":"x","data":&#123;"groupList":"userId1,userId2,...","ignoreList(可选)":"userId1,userId2,..."&#125;&#125;</span></span><br></pre></td></tr></table></figure>
<p>It is similar to AEC_SET_GROUP_PUSH_IGNORE, but you need to return all group members at the same time, which is similar to AEC_GROUP_SYNC_ALL.</p>
<p>“groupList” represents all members of this group, and ignoreList is a <font color="red">optional parameter</font>, indicating all group members that sets group message do not disturb.</p>
<font color="gray">Group message DND means that the group’s messages will not be pushed to this user.</font>



<h2 id="10-Cancel-DND" class="article-heading"><a href="#10-Cancel-DND" class="headerlink" title="10 Cancel DND"></a>10 Cancel DND<a class="article-anchor" href="#10-Cancel-DND" aria-hidden="true"></a></h2><figure class="highlight java"><table><tr><td class="code"><pre><span class="line">&#123;<span class="string">"action"</span> : <span class="string">"AEC_UNSET_GROUP_PUSH_IGNORE"</span>, <span class="string">"userId"</span> : <span class="string">"xxx"</span>,<span class="string">"groupId"</span>:<span class="string">"xxx"</span>&#125;</span><br><span class="line"><span class="comment">//return &#123;"status":"x"&#125;</span></span><br></pre></td></tr></table></figure>
<p>The user requests to unset the group to be in the DND state, and the group’s message will be pushed to this user.</p>
<h2 id="11-Cancel-DND-and-sync-group-members" class="article-heading"><a href="#11-Cancel-DND-and-sync-group-members" class="headerlink" title="11 Cancel DND and sync group members"></a>11 Cancel DND and sync group members<a class="article-anchor" href="#11-Cancel-DND-and-sync-group-members" aria-hidden="true"></a></h2><figure class="highlight java"><table><tr><td class="code"><pre><span class="line">&#123;<span class="string">"action"</span> : <span class="string">"AEC_UNSET_GROUP_PUSH_IGNORE_AND_SYNC_ALL"</span>, <span class="string">"userId"</span> : <span class="string">"xxx"</span>,<span class="string">"groupId"</span>:<span class="string">"xxx"</span>&#125;</span><br><span class="line"><span class="comment">//return &#123;"status":"x","data":&#123;"groupList":"userId1,userId2,...","ignoreList(可选)":"userId1,userId2,..."&#125;&#125;</span></span><br></pre></td></tr></table></figure>
<p>It is similar to AEC_UNSET_GROUP_PUSH_IGNORE, but you need to return all group members at the same time, similar to AEC_GROUP_SYNC_ALL.</p>
<p>groupList表示这个groupId的所有成员，ignoreList为<font color="red">可选参数</font>，表示所有开启了群消息免打扰的群成员。</p>
<p>“groupList” represents all members of this groupId, and ignoreList is a <font color="red">optional parameter</font>, indicating all group members that set group message do not disturb.</p>
<font color="gray">Group message DND means that the group’s messages will not be pushed to this user.</font>




              </div>
              <footer class="article-footer">
                <time class="article-footer-updated" datetime="2020-09-06T00:27:31.345Z" itemprop="dateModified">Last updated<script type="text/javascript">document.write("："+(new Date()).toISOString().slice(0,10))</script></time>
		<a href="aec-index.html" class="article-footer-prev" title="Overview"><i class="fa fa-chevron-left"></i><span>Prev</span></a><a href="aec-chatroom.html" class="article-footer-next" title="chatroom events"><span>Next</span><i class="fa fa-chevron-right"></i></a>
              </footer>
            </div>
          </div>
          <aside id="article-toc" role="navigation">
            <div id="article-toc-inner">
              <strong class="sidebar-title">Contents</strong>
              <ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#Group-event-notification"><span class="toc-text">Group event notification</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#1-Create-a-group"><span class="toc-text">1 Create a group</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#2-Synchronize-all-group-members"><span class="toc-text">2 Synchronize all group members</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#3-Delete-a-group"><span class="toc-text">3 Delete a group</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#5-Add-group-members-and-sync-all-group-members"><span class="toc-text">5 Add group members and sync all group members</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#6-Delete-the-group-member"><span class="toc-text">6 Delete the group member</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#7-Delete-group-members-and-sync-all-group-members"><span class="toc-text">7 Delete group members and sync all group members</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#8-Set-the-DND-mode"><span class="toc-text">8 Set the DND mode</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#9-Set-DND-mode-and-sync-group-members"><span class="toc-text">9 Set DND mode and sync group members</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#10-Cancel-DND"><span class="toc-text">10 Cancel DND</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#11-Cancel-DND-and-sync-group-members"><span class="toc-text">11 Cancel DND and sync group members</span></a></li></ol></li></ol>
              <a href="#" id="article-toc-top">Back to Top</a>
            </div>
          </aside>
        </div>
      </article>
      <aside id="sidebar" role="navigation">
  <div class="inner">
    <strong class="sidebar-title">Getting Started</strong><a href="index.html" class="sidebar-link">Overview</a><strong class="sidebar-title">Android</strong><a href="android-1.html" class="sidebar-link">1.prerequisite</a><a href="android-2.html" class="sidebar-link">2.SDK intro</a><a href="android-3b.html" class="sidebar-link">3b.init(private)</a><a href="android-4.html" class="sidebar-link">4.im</a><a href="android-5.html" class="sidebar-link">5.group msg</a><a href="android-6.html" class="sidebar-link">6.chatroom msg</a><a href="android-7.html" class="sidebar-link">7.voip</a><a href="android-8.html" class="sidebar-link">8.meeting</a><a href="android-9.html" class="sidebar-link">9.live</a><a href="android-10.html" class="sidebar-link">10.other components</a><a href="android-11.html" class="sidebar-link">11.super room</a><a href="android-user-list.html" class="sidebar-link">online user list</a><a href="android-beauty-callback.html" class="sidebar-link">beauty</a><a href="android-errCode.html" class="sidebar-link">ErrorCode</a><strong class="sidebar-title">iOS</strong><a href="ios-1.html" class="sidebar-link">1.prerequisite</a><a href="ios-2.html" class="sidebar-link">2.SDK intro</a><a href="ios-3b.html" class="sidebar-link">3b.init(private)</a><a href="ios-4.html" class="sidebar-link">4.im</a><a href="ios-5.html" class="sidebar-link">5.group msg</a><a href="ios-6.html" class="sidebar-link">6.chatroom msg</a><a href="ios-7.html" class="sidebar-link">7.voip</a><a href="ios-8.html" class="sidebar-link">8.meeting</a><a href="ios-9.html" class="sidebar-link">9.live</a><a href="ios-10.html" class="sidebar-link">10.voip direct connection</a><strong class="sidebar-title">web</strong><a href="web-1.html" class="sidebar-link">1.prerequisite</a><a href="web-2.html" class="sidebar-link">2.SDK intro</a><a href="web-4.html" class="sidebar-link">4.im</a><a href="web-5.html" class="sidebar-link">5.group msg</a><a href="web-6.html" class="sidebar-link">6.chatroom msg</a><a href="web-7.html" class="sidebar-link">7.voip</a><a href="web-8.html" class="sidebar-link">8.meeting</a><a href="web-9.html" class="sidebar-link">9.live</a><a href="web-10.html" class="sidebar-link">10.private</a><strong class="sidebar-title">Win PC</strong><a href="win-1.html" class="sidebar-link">1.prerequisite</a><a href="win-2.html" class="sidebar-link">2.init</a><a href="win-3.html" class="sidebar-link">3.im</a><a href="win-4.html" class="sidebar-link">4.group msg</a><a href="win-5.html" class="sidebar-link">5.chatroom msg</a><a href="win-6.html" class="sidebar-link">6.voip</a><a href="win-7.html" class="sidebar-link">7.meeting</a><a href="win-8.html" class="sidebar-link">8.live</a><strong class="sidebar-title">Server API</strong><a href="aec-index.html" class="sidebar-link">Overview</a><a href="aec-group.html" class="sidebar-link current">group events</a><a href="aec-chatroom.html" class="sidebar-link">chatroom events</a><a href="aec-voip.html" class="sidebar-link">voip events</a><a href="aec-channel.html" class="sidebar-link">音视频流事件通知</a><a href="aec-other.html" class="sidebar-link">other events</a>
  </div>
</aside>
    </div>
  </div>
</div>

    <footer id="footer" class="wrapper">
  <div class="inner">
    <div id="footer-copyright">
      &copy; 2010-2020 <a href="https://starrtc.gitee.io/" target="_blank">starRTC</a><br>
    </div>
    <div id="footer-links">
      <a href="https://gitee.com/starrtc" class="footer-link" target="_blank"><i class="fa fa-github-alt"></i></a>
    </div>
  </div>
</footer>

  </div>
  <div id="mobile-nav-dimmer"></div>
  <nav id="mobile-nav">
  <div id="mobile-nav-inner">
    <ul id="mobile-nav-list">
      <a href="https://starrtc.gitee.io/" class="main-nav-link">Home</a><a href="https://blog.starRTC.com" class="main-nav-link">Blog</a><a href="https://github.com/starrtc/android-demo/issues" class="main-nav-link">Forum</a><a href="/en/docs/" class="mobile-nav-link">Docs</a><a href="/en/download/" class="mobile-nav-link">Download</a><a href="/en/contact/" class="mobile-nav-link">Contact</a>
      <li class="mobile-nav-item">
        <a href="https://github.com/starrtc" class="mobile-nav-link" rel="external" target="_blank">GitHub</a>
      </li>
    </ul>
    
      <strong class="mobile-nav-title">Getting Started</strong><a href="index.html" class="mobile-nav-link">Overview</a><strong class="mobile-nav-title">Android</strong><a href="android-1.html" class="mobile-nav-link">1.prerequisite</a><a href="android-2.html" class="mobile-nav-link">2.SDK intro</a><a href="android-3b.html" class="mobile-nav-link">3b.init(private)</a><a href="android-4.html" class="mobile-nav-link">4.im</a><a href="android-5.html" class="mobile-nav-link">5.group msg</a><a href="android-6.html" class="mobile-nav-link">6.chatroom msg</a><a href="android-7.html" class="mobile-nav-link">7.voip</a><a href="android-8.html" class="mobile-nav-link">8.meeting</a><a href="android-9.html" class="mobile-nav-link">9.live</a><a href="android-10.html" class="mobile-nav-link">10.other components</a><a href="android-11.html" class="mobile-nav-link">11.super room</a><a href="android-user-list.html" class="mobile-nav-link">online user list</a><a href="android-beauty-callback.html" class="mobile-nav-link">beauty</a><a href="android-errCode.html" class="mobile-nav-link">ErrorCode</a><strong class="mobile-nav-title">iOS</strong><a href="ios-1.html" class="mobile-nav-link">1.prerequisite</a><a href="ios-2.html" class="mobile-nav-link">2.SDK intro</a><a href="ios-3b.html" class="mobile-nav-link">3b.init(private)</a><a href="ios-4.html" class="mobile-nav-link">4.im</a><a href="ios-5.html" class="mobile-nav-link">5.group msg</a><a href="ios-6.html" class="mobile-nav-link">6.chatroom msg</a><a href="ios-7.html" class="mobile-nav-link">7.voip</a><a href="ios-8.html" class="mobile-nav-link">8.meeting</a><a href="ios-9.html" class="mobile-nav-link">9.live</a><a href="ios-10.html" class="mobile-nav-link">10.voip direct connection</a><strong class="mobile-nav-title">web</strong><a href="web-1.html" class="mobile-nav-link">1.prerequisite</a><a href="web-2.html" class="mobile-nav-link">2.SDK intro</a><a href="web-4.html" class="mobile-nav-link">4.im</a><a href="web-5.html" class="mobile-nav-link">5.group msg</a><a href="web-6.html" class="mobile-nav-link">6.chatroom msg</a><a href="web-7.html" class="mobile-nav-link">7.voip</a><a href="web-8.html" class="mobile-nav-link">8.meeting</a><a href="web-9.html" class="mobile-nav-link">9.live</a><a href="web-10.html" class="mobile-nav-link">10.private</a><strong class="mobile-nav-title">Win PC</strong><a href="win-1.html" class="mobile-nav-link">1.prerequisite</a><a href="win-2.html" class="mobile-nav-link">2.init</a><a href="win-3.html" class="mobile-nav-link">3.im</a><a href="win-4.html" class="mobile-nav-link">4.group msg</a><a href="win-5.html" class="mobile-nav-link">5.chatroom msg</a><a href="win-6.html" class="mobile-nav-link">6.voip</a><a href="win-7.html" class="mobile-nav-link">7.meeting</a><a href="win-8.html" class="mobile-nav-link">8.live</a><strong class="mobile-nav-title">Server API</strong><a href="aec-index.html" class="mobile-nav-link">Overview</a><a href="aec-group.html" class="mobile-nav-link current">group events</a><a href="aec-chatroom.html" class="mobile-nav-link">chatroom events</a><a href="aec-voip.html" class="mobile-nav-link">voip events</a><a href="aec-channel.html" class="mobile-nav-link">音视频流事件通知</a><a href="aec-other.html" class="mobile-nav-link">other events</a>
    
  </div>
  <div id="mobile-lang-select-wrap">
    <span id="mobile-lang-select-label"><i class="fa fa-globe"></i><span>English</span></span>
    <select id="mobile-lang-select" data-canonical="docs/aec-group.html">
      
        <option value="en" selected>English</option>
      
        <option value="zh-cn">简体中文</option>
      
    </select>
  </div>
</nav>
  <!-- Scripts -->
<!-- build:js build/js/main.js -->
<script src="/js/lang_select.js"></script>
<script src="/js/toc.js"></script>
<script src="/js/mobile_nav.js"></script>
<!-- endbuild -->
<!-- Algolia -->

<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script>
<script type="text/javascript">
document.getElementById('search-input-wrap').classList.add('on');
docsearch({
  apiKey: 'c3d5d4c995b5e0c2ffb5623900279a66',
  indexName: 'hexo',
  inputSelector: '#search-input'
});
</script>


</body>
</html>